// userSlice
export type RequiredUserInfoType = { username: string; nickname: string; phonenumber: string };
export type UserInfoType = Partial<RequiredUserInfoType>; // Partial 将必选项改为可选项
export type UserSliceType = {
  userInfo: UserInfoType;
  userToken: string;
  setUserInfo: (data: UserInfoType) => void;
  setToken: (data: string) => void;
};
